<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>HelloVue</title>
    <!-- 引入vue的cdn链接 -->
    <script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
</head>
<body>
    <div id="app">
        {{ message }}
    </div>

    <script>
        const {createApp,ref} = Vue
        createApp({
            setup(){
                const message = ref('hello vue')
                return {message}
            }
        }).mount('#app')
    </script>
</body>
</html>